package com.haoniu.module.domain.database;

import com.haoniu.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;


/**
 * 幸运转盘表 luck_wheel
 *
 * @author houyijun
 * @date 2019-03-20
 */
public class LuckWheel extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**  */
	private Integer id;
	/** 奖励内容 */
	private String rewardContent;
	/** 奖金数量 */
	private BigDecimal bonus;
	/** 概率 */
	private BigDecimal radio;
	/**  */
	private Date createTime;
	/**  */
	private Date updateTime;
	/** 数据状态 0 正常 2 删除 */
	private Integer delFlag;

	public void setId(Integer id){
		this.id = id;
	}

	public Integer getId(){
		return id;
	}
	public void setRewardContent(String rewardContent){
		this.rewardContent = rewardContent;
	}

	public String getRewardContent(){
		return rewardContent;
	}
	public void setBonus(BigDecimal bonus){
		this.bonus = bonus;
	}

	public BigDecimal getBonus(){
		return bonus;
	}
	public void setRadio(BigDecimal radio){
		this.radio = radio;
	}

	public BigDecimal getRadio(){
		return radio;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}

	public Date getCreateTime(){
		return createTime;
	}
	public void setUpdateTime(Date updateTime){
		this.updateTime = updateTime;
	}

	public Date getUpdateTime(){
		return updateTime;
	}
	public void setDelFlag(Integer delFlag){
		this.delFlag = delFlag;
	}

	public Integer getDelFlag(){
		return delFlag;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("rewardContent", getRewardContent())
            .append("bonus", getBonus())
            .append("radio", getRadio())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
